Total Complexity | 40 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 269 |
Lines of code | 146 |
Logical lines of code | 73 |
Comment lines | 87 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
prepare_speed_score_response() | 50 | 11 | 28 | |
fetch_speed_score() | 51 | 11 | 26 | |
maybe_dispatch_no_boost_score_request() | 57 | 5 | 17 | |
dispatch_speed_score_request() | 58 | 4 | 15 | |
process_url_arg() | 60 | 2 | 14 | |
register_rest_routes() | 57 | 1 | 20 | |
__construct() | 68 | 1 | 7 | |
allow_jb_disable_module() | 72 | 1 | 5 | |
get_score_request_by_url() | 75 | 1 | 5 | |
get_boost_modules_disabled_url() | 79 | 1 | 3 | |
can_access_speed_scores() | 80 | 1 | 3 | |
clear_speed_score_request_cache() | 82 | 1 | 3 |